Skip to content

Support diff linting#139

Merged
xiwenc merged 1 commit into
mainfrom
feature/lint-delta
Jul 7, 2026
Merged

Support diff linting#139
xiwenc merged 1 commit into
mainfrom
feature/lint-delta

Conversation

@xiwenc

@xiwenc xiwenc commented Jul 7, 2026

Copy link
Copy Markdown
Member

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Merging this branch changes the coverage (1 decrease, 1 increase)

Impacted Packages Coverage Δ 🤖
github.com/mxlint/mxlint-cli 2.86% (-0.35%) 👎
github.com/mxlint/mxlint-cli/lint 74.48% (+0.55%) 👍
github.com/mxlint/mxlint-cli/serve 22.32% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/mxlint/mxlint-cli/lint/diff_filter.go 100.00% (+100.00%) 13 (+13) 13 (+13) 0 🌟
github.com/mxlint/mxlint-cli/lint/git.go 80.95% (+80.95%) 63 (+63) 51 (+51) 12 (+12) 🌟
github.com/mxlint/mxlint-cli/lint/lint.go 68.94% (+0.13%) 235 (+1) 162 (+1) 73 👍
github.com/mxlint/mxlint-cli/main.go 2.86% (-0.35%) 210 (+23) 6 204 (+23) 👎
github.com/mxlint/mxlint-cli/serve/serve.go 11.68% (ø) 197 23 174

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/mxlint/mxlint-cli/lint/diff_filter_test.go
  • github.com/mxlint/mxlint-cli/lint/git_test.go
  • github.com/mxlint/mxlint-cli/lint/lint_test.go

@xiwenc xiwenc merged commit 329cc25 into main Jul 7, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant